home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / source / contrib / fancyheadings / fancyheadings.sty < prev    next >
LaTeX Document  |  1995-03-10  |  4.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX auxiliary file, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 66 61 6e 63 79 68 | 65 61 64 69 6e 67 73 2e |% fancyh|eadings.|
|00000010| 73 74 79 20 76 65 72 73 | 69 6f 6e 20 31 2e 37 0a |sty vers|ion 1.7.|
|00000020| 25 20 46 61 6e 63 79 20 | 68 65 61 64 65 72 73 20 |% Fancy |headers |
|00000030| 61 6e 64 20 66 6f 6f 74 | 65 72 73 2e 0a 25 20 50 |and foot|ers..% P|
|00000040| 69 65 74 20 76 61 6e 20 | 4f 6f 73 74 72 75 6d 2c |iet van |Oostrum,|
|00000050| 20 44 65 70 74 20 6f 66 | 20 43 6f 6d 70 75 74 65 | Dept of| Compute|
|00000060| 72 20 53 63 69 65 6e 63 | 65 2c 20 55 6e 69 76 65 |r Scienc|e, Unive|
|00000070| 72 73 69 74 79 20 6f 66 | 20 55 74 72 65 63 68 74 |rsity of| Utrecht|
|00000080| 0a 25 20 50 61 64 75 61 | 6c 61 61 6e 20 31 34 2c |.% Padua|laan 14,|
|00000090| 20 50 2e 4f 2e 20 42 6f | 78 20 38 30 2e 30 38 39 | P.O. Bo|x 80.089|
|000000a0| 2c 20 33 35 30 38 20 54 | 42 20 55 74 72 65 63 68 |, 3508 T|B Utrech|
|000000b0| 74 2c 20 54 68 65 20 4e | 65 74 68 65 72 6c 61 6e |t, The N|etherlan|
|000000c0| 64 73 0a 25 20 54 65 6c | 65 70 68 6f 6e 65 3a 20 |ds.% Tel|ephone: |
|000000d0| 2b 33 31 2d 33 30 2d 35 | 33 31 38 30 36 2e 20 70 |+31-30-5|31806. p|
|000000e0| 69 65 74 40 63 73 2e 72 | 75 75 2e 6e 6c 20 28 6d |iet@cs.r|uu.nl (m|
|000000f0| 63 76 61 78 21 73 75 6e | 34 6e 6c 21 72 75 75 69 |cvax!sun|4nl!ruui|
|00000100| 6e 66 21 70 69 65 74 29 | 0a 25 20 53 65 70 20 31 |nf!piet)|.% Sep 1|
|00000110| 36 2c 20 31 39 39 34 0a | 25 20 76 65 72 73 69 6f |6, 1994.|% versio|
|00000120| 6e 20 31 2e 34 3a 20 43 | 6f 72 72 65 63 74 69 6f |n 1.4: C|orrectio|
|00000130| 6e 20 66 6f 72 20 75 73 | 65 20 77 69 74 68 20 5c |n for us|e with \|
|00000140| 72 65 76 65 72 73 65 6d | 61 72 67 69 6e 0a 25 20 |reversem|argin.% |
|00000150| 53 65 70 20 32 39 2c 20 | 31 39 39 34 3a 0a 25 20 |Sep 29, |1994:.% |
|00000160| 76 65 72 73 69 6f 6e 20 | 31 2e 35 3a 20 41 64 64 |version |1.5: Add|
|00000170| 65 64 20 74 68 65 20 5c | 69 66 74 6f 70 66 6c 6f |ed the \|iftopflo|
|00000180| 61 74 2c 20 5c 69 66 62 | 6f 74 66 6c 6f 61 74 20 |at, \ifb|otfloat |
|00000190| 61 6e 64 20 5c 69 66 66 | 6c 6f 61 74 70 61 67 65 |and \iff|loatpage|
|000001a0| 20 63 6f 6d 6d 61 6e 64 | 73 0a 25 20 4f 63 74 20 | command|s.% Oct |
|000001b0| 34 2c 20 31 39 39 34 3a | 0a 25 20 76 65 72 73 69 |4, 1994:|.% versi|
|000001c0| 6f 6e 20 31 2e 36 3a 20 | 52 65 73 65 74 20 73 69 |on 1.6: |Reset si|
|000001d0| 6e 67 6c 65 20 73 70 61 | 63 69 6e 67 20 69 6e 20 |ngle spa|cing in |
|000001e0| 68 65 61 64 65 72 73 2f | 66 6f 6f 74 65 72 73 20 |headers/|footers |
|000001f0| 66 6f 72 20 75 73 65 20 | 77 69 74 68 0a 25 20 73 |for use |with.% s|
|00000200| 65 74 73 70 61 63 65 2e | 73 74 79 20 6f 72 20 64 |etspace.|sty or d|
|00000210| 6f 75 62 6c 65 73 70 61 | 63 65 2e 73 74 79 0a 25 |oublespa|ce.sty.%|
|00000220| 20 4f 63 74 20 34 2c 20 | 31 39 39 34 3a 0a 25 20 | Oct 4, |1994:.% |
|00000230| 76 65 72 73 69 6f 6e 20 | 31 2e 37 3a 20 63 68 61 |version |1.7: cha|
|00000240| 6e 67 65 64 20 5c 6c 65 | 74 5c 40 6d 6b 62 6f 74 |nged \le|t\@mkbot|
|00000250| 68 5c 6d 61 72 6b 62 6f | 74 68 20 74 6f 0a 25 20 |h\markbo|th to.% |
|00000260| 5c 64 65 66 5c 40 6d 6b | 62 6f 74 68 7b 5c 70 72 |\def\@mk|both{\pr|
|00000270| 6f 74 65 63 74 5c 6d 61 | 72 6b 62 6f 74 68 7d 20 |otect\ma|rkboth} |
|00000280| 74 6f 20 6d 61 6b 65 20 | 69 74 20 6d 6f 72 65 20 |to make |it more |
|00000290| 72 6f 62 75 73 74 0a 0a | 5c 64 65 66 5c 6c 68 65 |robust..|\def\lhe|
|000002a0| 61 64 7b 5c 40 69 66 6e | 65 78 74 63 68 61 72 5b |ad{\@ifn|extchar[|
|000002b0| 7b 5c 40 78 6c 68 65 61 | 64 7d 7b 5c 40 79 6c 68 |{\@xlhea|d}{\@ylh|
|000002c0| 65 61 64 7d 7d 0a 5c 64 | 65 66 5c 40 78 6c 68 65 |ead}}.\d|ef\@xlhe|
|000002d0| 61 64 5b 23 31 5d 23 32 | 7b 5c 67 64 65 66 5c 40 |ad[#1]#2|{\gdef\@|
|000002e0| 65 6c 68 65 61 64 7b 23 | 31 7d 5c 67 64 65 66 5c |elhead{#|1}\gdef\|
|000002f0| 40 6f 6c 68 65 61 64 7b | 23 32 7d 7d 0a 5c 64 65 |@olhead{|#2}}.\de|
|00000300| 66 5c 40 79 6c 68 65 61 | 64 23 31 7b 5c 67 64 65 |f\@ylhea|d#1{\gde|
|00000310| 66 5c 40 65 6c 68 65 61 | 64 7b 23 31 7d 5c 67 64 |f\@elhea|d{#1}\gd|
|00000320| 65 66 5c 40 6f 6c 68 65 | 61 64 7b 23 31 7d 7d 0a |ef\@olhe|ad{#1}}.|
|00000330| 0a 5c 64 65 66 5c 63 68 | 65 61 64 7b 5c 40 69 66 |.\def\ch|ead{\@if|
|00000340| 6e 65 78 74 63 68 61 72 | 5b 7b 5c 40 78 63 68 65 |nextchar|[{\@xche|
|00000350| 61 64 7d 7b 5c 40 79 63 | 68 65 61 64 7d 7d 0a 5c |ad}{\@yc|head}}.\|
|00000360| 64 65 66 5c 40 78 63 68 | 65 61 64 5b 23 31 5d 23 |def\@xch|ead[#1]#|
|00000370| 32 7b 5c 67 64 65 66 5c | 40 65 63 68 65 61 64 7b |2{\gdef\|@echead{|
|00000380| 23 31 7d 5c 67 64 65 66 | 5c 40 6f 63 68 65 61 64 |#1}\gdef|\@ochead|
|00000390| 7b 23 32 7d 7d 0a 5c 64 | 65 66 5c 40 79 63 68 65 |{#2}}.\d|ef\@yche|
|000003a0| 61 64 23 31 7b 5c 67 64 | 65 66 5c 40 65 63 68 65 |ad#1{\gd|ef\@eche|
|000003b0| 61 64 7b 23 31 7d 5c 67 | 64 65 66 5c 40 6f 63 68 |ad{#1}\g|def\@och|
|000003c0| 65 61 64 7b 23 31 7d 7d | 0a 0a 5c 64 65 66 5c 72 |ead{#1}}|..\def\r|
|000003d0| 68 65 61 64 7b 5c 40 69 | 66 6e 65 78 74 63 68 61 |head{\@i|fnextcha|
|000003e0| 72 5b 7b 5c 40 78 72 68 | 65 61 64 7d 7b 5c 40 79 |r[{\@xrh|ead}{\@y|
|000003f0| 72 68 65 61 64 7d 7d 0a | 5c 64 65 66 5c 40 78 72 |rhead}}.|\def\@xr|
|00000400| 68 65 61 64 5b 23 31 5d | 23 32 7b 5c 67 64 65 66 |head[#1]|#2{\gdef|
|00000410| 5c 40 65 72 68 65 61 64 | 7b 23 31 7d 5c 67 64 65 |\@erhead|{#1}\gde|
|00000420| 66 5c 40 6f 72 68 65 61 | 64 7b 23 32 7d 7d 0a 5c |f\@orhea|d{#2}}.\|
|00000430| 64 65 66 5c 40 79 72 68 | 65 61 64 23 31 7b 5c 67 |def\@yrh|ead#1{\g|
|00000440| 64 65 66 5c 40 65 72 68 | 65 61 64 7b 23 31 7d 5c |def\@erh|ead{#1}\|
|00000450| 67 64 65 66 5c 40 6f 72 | 68 65 61 64 7b 23 31 7d |gdef\@or|head{#1}|
|00000460| 7d 0a 0a 5c 64 65 66 5c | 6c 66 6f 6f 74 7b 5c 40 |}..\def\|lfoot{\@|
|00000470| 69 66 6e 65 78 74 63 68 | 61 72 5b 7b 5c 40 78 6c |ifnextch|ar[{\@xl|
|00000480| 66 6f 6f 74 7d 7b 5c 40 | 79 6c 66 6f 6f 74 7d 7d |foot}{\@|ylfoot}}|
|00000490| 0a 5c 64 65 66 5c 40 78 | 6c 66 6f 6f 74 5b 23 31 |.\def\@x|lfoot[#1|
|000004a0| 5d 23 32 7b 5c 67 64 65 | 66 5c 40 65 6c 66 6f 6f |]#2{\gde|f\@elfoo|
|000004b0| 74 7b 23 31 7d 5c 67 64 | 65 66 5c 40 6f 6c 66 6f |t{#1}\gd|ef\@olfo|
|000004c0| 6f 74 7b 23 32 7d 7d 0a | 5c 64 65 66 5c 40 79 6c |ot{#2}}.|\def\@yl|
|000004d0| 66 6f 6f 74 23 31 7b 5c | 67 64 65 66 5c 40 65 6c |foot#1{\|gdef\@el|
|000004e0| 66 6f 6f 74 7b 23 31 7d | 5c 67 64 65 66 5c 40 6f |foot{#1}|\gdef\@o|
|000004f0| 6c 66 6f 6f 74 7b 23 31 | 7d 7d 0a 0a 5c 64 65 66 |lfoot{#1|}}..\def|
|00000500| 5c 63 66 6f 6f 74 7b 5c | 40 69 66 6e 65 78 74 63 |\cfoot{\|@ifnextc|
|00000510| 68 61 72 5b 7b 5c 40 78 | 63 66 6f 6f 74 7d 7b 5c |har[{\@x|cfoot}{\|
|00000520| 40 79 63 66 6f 6f 74 7d | 7d 0a 5c 64 65 66 5c 40 |@ycfoot}|}.\def\@|
|00000530| 78 63 66 6f 6f 74 5b 23 | 31 5d 23 32 7b 5c 67 64 |xcfoot[#|1]#2{\gd|
|00000540| 65 66 5c 40 65 63 66 6f | 6f 74 7b 23 31 7d 5c 67 |ef\@ecfo|ot{#1}\g|
|00000550| 64 65 66 5c 40 6f 63 66 | 6f 6f 74 7b 23 32 7d 7d |def\@ocf|oot{#2}}|
|00000560| 0a 5c 64 65 66 5c 40 79 | 63 66 6f 6f 74 23 31 7b |.\def\@y|cfoot#1{|
|00000570| 5c 67 64 65 66 5c 40 65 | 63 66 6f 6f 74 7b 23 31 |\gdef\@e|cfoot{#1|
|00000580| 7d 5c 67 64 65 66 5c 40 | 6f 63 66 6f 6f 74 7b 23 |}\gdef\@|ocfoot{#|
|00000590| 31 7d 7d 0a 0a 5c 64 65 | 66 5c 72 66 6f 6f 74 7b |1}}..\de|f\rfoot{|
|000005a0| 5c 40 69 66 6e 65 78 74 | 63 68 61 72 5b 7b 5c 40 |\@ifnext|char[{\@|
|000005b0| 78 72 66 6f 6f 74 7d 7b | 5c 40 79 72 66 6f 6f 74 |xrfoot}{|\@yrfoot|
|000005c0| 7d 7d 0a 5c 64 65 66 5c | 40 78 72 66 6f 6f 74 5b |}}.\def\|@xrfoot[|
|000005d0| 23 31 5d 23 32 7b 5c 67 | 64 65 66 5c 40 65 72 66 |#1]#2{\g|def\@erf|
|000005e0| 6f 6f 74 7b 23 31 7d 5c | 67 64 65 66 5c 40 6f 72 |oot{#1}\|gdef\@or|
|000005f0| 66 6f 6f 74 7b 23 32 7d | 7d 0a 5c 64 65 66 5c 40 |foot{#2}|}.\def\@|
|00000600| 79 72 66 6f 6f 74 23 31 | 7b 5c 67 64 65 66 5c 40 |yrfoot#1|{\gdef\@|
|00000610| 65 72 66 6f 6f 74 7b 23 | 31 7d 5c 67 64 65 66 5c |erfoot{#|1}\gdef\|
|00000620| 40 6f 72 66 6f 6f 74 7b | 23 31 7d 7d 0a 0a 5c 6e |@orfoot{|#1}}..\n|
|00000630| 65 77 64 69 6d 65 6e 5c | 68 65 61 64 72 75 6c 65 |ewdimen\|headrule|
|00000640| 77 69 64 74 68 0a 5c 6e | 65 77 64 69 6d 65 6e 5c |width.\n|ewdimen\|
|00000650| 66 6f 6f 74 72 75 6c 65 | 77 69 64 74 68 0a 5c 6e |footrule|width.\n|
|00000660| 65 77 64 69 6d 65 6e 5c | 70 6c 61 69 6e 68 65 61 |ewdimen\|plainhea|
|00000670| 64 72 75 6c 65 77 69 64 | 74 68 0a 5c 6e 65 77 64 |drulewid|th.\newd|
|00000680| 69 6d 65 6e 5c 70 6c 61 | 69 6e 66 6f 6f 74 72 75 |imen\pla|infootru|
|00000690| 6c 65 77 69 64 74 68 0a | 5c 6e 65 77 64 69 6d 65 |lewidth.|\newdime|
|000006a0| 6e 5c 68 65 61 64 77 69 | 64 74 68 0a 5c 6e 65 77 |n\headwi|dth.\new|
|000006b0| 69 66 5c 69 66 40 66 61 | 6e 63 79 70 6c 61 69 6e |if\if@fa|ncyplain|
|000006c0| 20 5c 40 66 61 6e 63 79 | 70 6c 61 69 6e 66 61 6c | \@fancy|plainfal|
|000006d0| 73 65 0a 5c 64 65 66 5c | 66 61 6e 63 79 70 6c 61 |se.\def\|fancypla|
|000006e0| 69 6e 23 31 23 32 7b 5c | 69 66 40 66 61 6e 63 79 |in#1#2{\|if@fancy|
|000006f0| 70 6c 61 69 6e 23 31 5c | 65 6c 73 65 23 32 5c 66 |plain#1\|else#2\f|
|00000700| 69 7d 0a 0a 25 20 43 6f | 6d 6d 61 6e 64 20 74 6f |i}..% Co|mmand to|
|00000710| 20 72 65 73 65 74 20 76 | 61 72 69 6f 75 73 20 74 | reset v|arious t|
|00000720| 68 69 6e 67 73 20 69 6e | 20 74 68 65 20 68 65 61 |hings in| the hea|
|00000730| 64 65 72 73 3a 0a 25 20 | 61 2e 6f 2e 20 20 73 69 |ders:.% |a.o. si|
|00000740| 6e 67 6c 65 20 73 70 61 | 63 69 6e 67 20 28 74 61 |ngle spa|cing (ta|
|00000750| 6b 65 6e 20 66 72 6f 6d | 20 73 65 74 73 70 61 63 |ken from| setspac|
|00000760| 65 2e 73 74 79 29 0a 25 | 20 61 6e 64 20 74 68 65 |e.sty).%| and the|
|00000770| 20 63 61 74 63 6f 64 65 | 20 6f 66 20 5e 5e 4d 20 | catcode| of ^^M |
|00000780| 28 73 6f 20 74 68 61 74 | 20 65 70 73 66 20 66 69 |(so that| epsf fi|
|00000790| 6c 65 73 20 69 6e 20 74 | 68 65 20 68 65 61 64 65 |les in t|he heade|
|000007a0| 72 20 77 6f 72 6b 20 69 | 66 20 61 0a 25 20 76 65 |r work i|f a.% ve|
|000007b0| 72 62 61 74 69 6d 20 63 | 72 6f 73 73 65 73 20 61 |rbatim c|rosses a|
|000007c0| 20 70 61 67 65 20 62 6f | 75 6e 64 61 72 79 29 0a | page bo|undary).|
|000007d0| 5c 64 65 66 5c 66 61 6e | 63 79 40 72 65 73 65 74 |\def\fan|cy@reset|
|000007e0| 7b 5c 72 65 73 74 6f 72 | 65 63 72 0a 20 5c 64 65 |{\restor|ecr. \de|
|000007f0| 66 5c 62 61 73 65 6c 69 | 6e 65 73 74 72 65 74 63 |f\baseli|nestretc|
|00000800| 68 7b 31 7d 25 0a 20 5c | 69 66 78 5c 75 6e 64 65 |h{1}%. \|ifx\unde|
|00000810| 66 69 6e 65 64 5c 40 6e | 65 77 62 61 73 65 6c 69 |fined\@n|ewbaseli|
|00000820| 6e 65 25 20 4e 46 53 53 | 20 6e 6f 74 20 70 72 65 |ne% NFSS| not pre|
|00000830| 73 65 6e 74 3b 20 32 2e | 30 39 20 6f 72 20 32 65 |sent; 2.|09 or 2e|
|00000840| 0a 20 20 5c 69 66 78 5c | 40 63 75 72 72 73 69 7a |. \ifx\|@currsiz|
|00000850| 65 5c 6e 6f 72 6d 61 6c | 73 69 7a 65 5c 40 6e 6f |e\normal|size\@no|
|00000860| 72 6d 61 6c 73 69 7a 65 | 5c 65 6c 73 65 5c 40 63 |rmalsize|\else\@c|
|00000870| 75 72 72 73 69 7a 65 5c | 66 69 25 0a 20 5c 65 6c |urrsize\|fi%. \el|
|00000880| 73 65 25 20 4e 46 53 53 | 20 28 32 2e 30 39 29 20 |se% NFSS| (2.09) |
|00000890| 70 72 65 73 65 6e 74 0a | 20 20 5c 40 6e 65 77 62 |present.| \@newb|
|000008a0| 61 73 65 6c 69 6e 65 25 | 0a 20 5c 66 69 7d 0a 0a |aseline%|. \fi}..|
|000008b0| 25 20 49 6e 69 74 69 61 | 6c 69 7a 61 74 69 6f 6e |% Initia|lization|
|000008c0| 20 6f 66 20 74 68 65 20 | 68 65 61 64 20 61 6e 64 | of the |head and|
|000008d0| 20 66 6f 6f 74 20 74 65 | 78 74 2e 0a 0a 5c 68 65 | foot te|xt...\he|
|000008e0| 61 64 72 75 6c 65 77 69 | 64 74 68 20 30 2e 34 70 |adrulewi|dth 0.4p|
|000008f0| 74 0a 5c 66 6f 6f 74 72 | 75 6c 65 77 69 64 74 68 |t.\footr|ulewidth|
|00000900| 5c 7a 40 0a 5c 70 6c 61 | 69 6e 68 65 61 64 72 75 |\z@.\pla|inheadru|
|00000910| 6c 65 77 69 64 74 68 5c | 7a 40 0a 5c 70 6c 61 69 |lewidth\|z@.\plai|
|00000920| 6e 66 6f 6f 74 72 75 6c | 65 77 69 64 74 68 5c 7a |nfootrul|ewidth\z|
|00000930| 40 0a 0a 5c 6c 68 65 61 | 64 5b 5c 66 61 6e 63 79 |@..\lhea|d[\fancy|
|00000940| 70 6c 61 69 6e 7b 7d 7b | 5c 73 6c 5c 72 69 67 68 |plain{}{|\sl\righ|
|00000950| 74 6d 61 72 6b 7d 5d 7b | 5c 66 61 6e 63 79 70 6c |tmark}]{|\fancypl|
|00000960| 61 69 6e 7b 7d 7b 5c 73 | 6c 5c 6c 65 66 74 6d 61 |ain{}{\s|l\leftma|
|00000970| 72 6b 7d 7d 0a 25 20 20 | 69 2e 65 2e 20 65 6d 70 |rk}}.% |i.e. emp|
|00000980| 74 79 20 6f 6e 20 60 60 | 70 6c 61 69 6e 27 27 20 |ty on ``|plain'' |
|00000990| 70 61 67 65 73 20 5c 72 | 69 67 68 74 6d 61 72 6b |pages \r|ightmark|
|000009a0| 20 6f 6e 20 65 76 65 6e | 2c 20 5c 6c 65 66 74 6d | on even|, \leftm|
|000009b0| 61 72 6b 20 6f 6e 20 6f | 64 64 20 70 61 67 65 73 |ark on o|dd pages|
|000009c0| 0a 5c 63 68 65 61 64 7b | 7d 0a 5c 72 68 65 61 64 |.\chead{|}.\rhead|
|000009d0| 5b 5c 66 61 6e 63 79 70 | 6c 61 69 6e 7b 7d 7b 5c |[\fancyp|lain{}{\|
|000009e0| 73 6c 5c 6c 65 66 74 6d | 61 72 6b 7d 5d 7b 5c 66 |sl\leftm|ark}]{\f|
|000009f0| 61 6e 63 79 70 6c 61 69 | 6e 7b 7d 7b 5c 73 6c 5c |ancyplai|n{}{\sl\|
|00000a00| 72 69 67 68 74 6d 61 72 | 6b 7d 7d 0a 25 20 20 69 |rightmar|k}}.% i|
|00000a10| 2e 65 2e 20 65 6d 70 74 | 79 20 6f 6e 20 60 60 70 |.e. empt|y on ``p|
|00000a20| 6c 61 69 6e 27 27 20 70 | 61 67 65 73 20 5c 6c 65 |lain'' p|ages \le|
|00000a30| 66 74 6d 61 72 6b 20 6f | 6e 20 65 76 65 6e 2c 20 |ftmark o|n even, |
|00000a40| 5c 72 69 67 68 74 6d 61 | 72 6b 20 6f 6e 20 6f 64 |\rightma|rk on od|
|00000a50| 64 20 70 61 67 65 73 0a | 5c 6c 66 6f 6f 74 7b 7d |d pages.|\lfoot{}|
|00000a60| 0a 5c 63 66 6f 6f 74 7b | 5c 72 6d 5c 74 68 65 70 |.\cfoot{|\rm\thep|
|00000a70| 61 67 65 7d 20 25 20 70 | 61 67 65 20 6e 75 6d 62 |age} % p|age numb|
|00000a80| 65 72 0a 5c 72 66 6f 6f | 74 7b 7d 0a 0a 25 20 50 |er.\rfoo|t{}..% P|
|00000a90| 75 74 20 74 6f 67 65 74 | 68 65 72 20 61 20 68 65 |ut toget|her a he|
|00000aa0| 61 64 65 72 20 6f 72 20 | 66 6f 6f 74 65 72 20 67 |ader or |footer g|
|00000ab0| 69 76 65 6e 20 74 68 65 | 20 6c 65 66 74 2c 20 63 |iven the| left, c|
|00000ac0| 65 6e 74 65 72 20 61 6e | 64 0a 25 20 72 69 67 68 |enter an|d.% righ|
|00000ad0| 74 20 74 65 78 74 2c 20 | 66 69 6c 6c 65 72 73 20 |t text, |fillers |
|00000ae0| 61 74 20 6c 65 66 74 20 | 61 6e 64 20 72 69 67 68 |at left |and righ|
|00000af0| 74 20 61 6e 64 20 61 20 | 72 75 6c 65 2e 0a 25 20 |t and a |rule..% |
|00000b00| 54 68 65 20 5c 6c 61 70 | 20 63 6f 6d 6d 61 6e 64 |The \lap| command|
|00000b10| 73 20 70 75 74 20 74 68 | 65 20 74 65 78 74 20 69 |s put th|e text i|
|00000b20| 6e 74 6f 20 61 6e 20 68 | 62 6f 78 20 6f 66 20 7a |nto an h|box of z|
|00000b30| 65 72 6f 20 73 69 7a 65 | 2c 0a 25 20 73 6f 20 6f |ero size|,.% so o|
|00000b40| 76 65 72 6c 61 70 70 69 | 6e 67 20 74 65 78 74 20 |verlappi|ng text |
|00000b50| 64 6f 65 73 20 6e 6f 74 | 20 67 65 6e 65 72 61 74 |does not| generat|
|00000b60| 65 20 61 6e 20 65 72 72 | 6f 72 6d 65 73 73 61 67 |e an err|ormessag|
|00000b70| 65 2e 0a 0a 5c 64 65 66 | 5c 40 66 61 6e 63 79 68 |e...\def|\@fancyh|
|00000b80| 65 61 64 23 31 23 32 23 | 33 23 34 23 35 7b 23 31 |ead#1#2#|3#4#5{#1|
|00000b90| 5c 68 62 6f 78 20 74 6f | 5c 68 65 61 64 77 69 64 |\hbox to|\headwid|
|00000ba0| 74 68 7b 5c 66 61 6e 63 | 79 40 72 65 73 65 74 5c |th{\fanc|y@reset\|
|00000bb0| 76 62 6f 78 7b 5c 68 62 | 6f 78 0a 7b 5c 72 6c 61 |vbox{\hb|ox.{\rla|
|00000bc0| 70 7b 5c 70 61 72 62 6f | 78 5b 62 5d 7b 5c 68 65 |p{\parbo|x[b]{\he|
|00000bd0| 61 64 77 69 64 74 68 7d | 7b 5c 72 61 67 67 65 64 |adwidth}|{\ragged|
|00000be0| 72 69 67 68 74 23 32 5c | 73 74 72 75 74 7d 7d 5c |right#2\|strut}}\|
|00000bf0| 68 66 69 6c 6c 0a 5c 70 | 61 72 62 6f 78 5b 62 5d |hfill.\p|arbox[b]|
|00000c00| 7b 5c 68 65 61 64 77 69 | 64 74 68 7d 7b 5c 63 65 |{\headwi|dth}{\ce|
|00000c10| 6e 74 65 72 69 6e 67 23 | 33 5c 73 74 72 75 74 7d |ntering#|3\strut}|
|00000c20| 5c 68 66 69 6c 6c 0a 5c | 6c 6c 61 70 7b 5c 70 61 |\hfill.\|llap{\pa|
|00000c30| 72 62 6f 78 5b 62 5d 7b | 5c 68 65 61 64 77 69 64 |rbox[b]{|\headwid|
|00000c40| 74 68 7d 7b 5c 72 61 67 | 67 65 64 6c 65 66 74 23 |th}{\rag|gedleft#|
|00000c50| 34 5c 73 74 72 75 74 7d | 7d 7d 5c 68 65 61 64 72 |4\strut}|}}\headr|
|00000c60| 75 6c 65 7d 7d 23 35 7d | 0a 0a 0a 5c 64 65 66 5c |ule}}#5}|...\def\|
|00000c70| 40 66 61 6e 63 79 66 6f | 6f 74 23 31 23 32 23 33 |@fancyfo|ot#1#2#3|
|00000c80| 23 34 23 35 7b 23 31 5c | 68 62 6f 78 20 74 6f 5c |#4#5{#1\|hbox to\|
|00000c90| 68 65 61 64 77 69 64 74 | 68 7b 5c 66 61 6e 63 79 |headwidt|h{\fancy|
|00000ca0| 40 72 65 73 65 74 5c 76 | 62 6f 78 7b 5c 66 6f 6f |@reset\v|box{\foo|
|00000cb0| 74 72 75 6c 65 0a 5c 68 | 62 6f 78 7b 5c 72 6c 61 |trule.\h|box{\rla|
|00000cc0| 70 7b 5c 70 61 72 62 6f | 78 5b 74 5d 7b 5c 68 65 |p{\parbo|x[t]{\he|
|00000cd0| 61 64 77 69 64 74 68 7d | 7b 5c 72 61 67 67 65 64 |adwidth}|{\ragged|
|00000ce0| 72 69 67 68 74 23 32 5c | 73 74 72 75 74 7d 7d 5c |right#2\|strut}}\|
|00000cf0| 68 66 69 6c 6c 0a 5c 70 | 61 72 62 6f 78 5b 74 5d |hfill.\p|arbox[t]|
|00000d00| 7b 5c 68 65 61 64 77 69 | 64 74 68 7d 7b 5c 63 65 |{\headwi|dth}{\ce|
|00000d10| 6e 74 65 72 69 6e 67 23 | 33 5c 73 74 72 75 74 7d |ntering#|3\strut}|
|00000d20| 5c 68 66 69 6c 6c 0a 5c | 6c 6c 61 70 7b 5c 70 61 |\hfill.\|llap{\pa|
|00000d30| 72 62 6f 78 5b 74 5d 7b | 5c 68 65 61 64 77 69 64 |rbox[t]{|\headwid|
|00000d40| 74 68 7d 7b 5c 72 61 67 | 67 65 64 6c 65 66 74 23 |th}{\rag|gedleft#|
|00000d50| 34 5c 73 74 72 75 74 7d | 7d 7d 7d 7d 23 35 7d 0a |4\strut}|}}}}#5}.|
|00000d60| 0a 5c 64 65 66 5c 68 65 | 61 64 72 75 6c 65 7b 7b |.\def\he|adrule{{|
|00000d70| 5c 69 66 40 66 61 6e 63 | 79 70 6c 61 69 6e 5c 68 |\if@fanc|yplain\h|
|00000d80| 65 61 64 72 75 6c 65 77 | 69 64 74 68 5c 70 6c 61 |eadrulew|idth\pla|
|00000d90| 69 6e 68 65 61 64 72 75 | 6c 65 77 69 64 74 68 5c |inheadru|lewidth\|
|00000da0| 66 69 0a 5c 68 72 75 6c | 65 5c 40 68 65 69 67 68 |fi.\hrul|e\@heigh|
|00000db0| 74 5c 68 65 61 64 72 75 | 6c 65 77 69 64 74 68 5c |t\headru|lewidth\|
|00000dc0| 40 77 69 64 74 68 5c 68 | 65 61 64 77 69 64 74 68 |@width\h|eadwidth|
|00000dd0| 20 5c 76 73 6b 69 70 2d | 5c 68 65 61 64 72 75 6c | \vskip-|\headrul|
|00000de0| 65 77 69 64 74 68 7d 7d | 0a 0a 5c 64 65 66 5c 66 |ewidth}}|..\def\f|
|00000df0| 6f 6f 74 72 75 6c 65 7b | 7b 5c 69 66 40 66 61 6e |ootrule{|{\if@fan|
|00000e00| 63 79 70 6c 61 69 6e 5c | 66 6f 6f 74 72 75 6c 65 |cyplain\|footrule|
|00000e10| 77 69 64 74 68 5c 70 6c | 61 69 6e 66 6f 6f 74 72 |width\pl|ainfootr|
|00000e20| 75 6c 65 77 69 64 74 68 | 5c 66 69 0a 5c 76 73 6b |ulewidth|\fi.\vsk|
|00000e30| 69 70 2d 30 2e 33 5c 6e | 6f 72 6d 61 6c 62 61 73 |ip-0.3\n|ormalbas|
|00000e40| 65 6c 69 6e 65 73 6b 69 | 70 5c 76 73 6b 69 70 2d |elineski|p\vskip-|
|00000e50| 5c 66 6f 6f 74 72 75 6c | 65 77 69 64 74 68 0a 5c |\footrul|ewidth.\|
|00000e60| 68 72 75 6c 65 5c 40 77 | 69 64 74 68 5c 68 65 61 |hrule\@w|idth\hea|
|00000e70| 64 77 69 64 74 68 5c 40 | 68 65 69 67 68 74 5c 66 |dwidth\@|height\f|
|00000e80| 6f 6f 74 72 75 6c 65 77 | 69 64 74 68 5c 76 73 6b |ootrulew|idth\vsk|
|00000e90| 69 70 30 2e 33 5c 6e 6f | 72 6d 61 6c 62 61 73 65 |ip0.3\no|rmalbase|
|00000ea0| 6c 69 6e 65 73 6b 69 70 | 7d 7d 0a 0a 5c 64 65 66 |lineskip|}}..\def|
|00000eb0| 5c 70 73 40 66 61 6e 63 | 79 7b 0a 5c 64 65 66 5c |\ps@fanc|y{.\def\|
|00000ec0| 40 6d 6b 62 6f 74 68 7b | 5c 70 72 6f 74 65 63 74 |@mkboth{|\protect|
|00000ed0| 5c 6d 61 72 6b 62 6f 74 | 68 7d 0a 5c 40 69 66 75 |\markbot|h}.\@ifu|
|00000ee0| 6e 64 65 66 69 6e 65 64 | 7b 63 68 61 70 74 65 72 |ndefined|{chapter|
|00000ef0| 7d 7b 5c 64 65 66 5c 73 | 65 63 74 69 6f 6e 6d 61 |}{\def\s|ectionma|
|00000f00| 72 6b 23 23 31 7b 5c 6d | 61 72 6b 62 6f 74 68 0a |rk##1{\m|arkboth.|
|00000f10| 7b 5c 75 70 70 65 72 63 | 61 73 65 7b 5c 69 66 6e |{\upperc|ase{\ifn|
|00000f20| 75 6d 20 5c 63 40 73 65 | 63 6e 75 6d 64 65 70 74 |um \c@se|cnumdept|
|00000f30| 68 3e 5c 7a 40 0a 20 5c | 74 68 65 73 65 63 74 69 |h>\z@. \|thesecti|
|00000f40| 6f 6e 5c 68 73 6b 69 70 | 20 31 65 6d 5c 72 65 6c |on\hskip| 1em\rel|
|00000f50| 61 78 20 5c 66 69 20 23 | 23 31 7d 7d 7b 7d 7d 0a |ax \fi #|#1}}{}}.|
|00000f60| 5c 64 65 66 5c 73 75 62 | 73 65 63 74 69 6f 6e 6d |\def\sub|sectionm|
|00000f70| 61 72 6b 23 23 31 7b 5c | 6d 61 72 6b 72 69 67 68 |ark##1{\|markrigh|
|00000f80| 74 20 7b 5c 69 66 6e 75 | 6d 20 5c 63 40 73 65 63 |t {\ifnu|m \c@sec|
|00000f90| 6e 75 6d 64 65 70 74 68 | 20 3e 5c 40 6e 65 0a 20 |numdepth| >\@ne. |
|00000fa0| 5c 74 68 65 73 75 62 73 | 65 63 74 69 6f 6e 5c 68 |\thesubs|ection\h|
|00000fb0| 73 6b 69 70 20 31 65 6d | 5c 72 65 6c 61 78 20 5c |skip 1em|\relax \|
|00000fc0| 66 69 20 23 23 31 7d 7d | 7d 0a 7b 5c 64 65 66 5c |fi ##1}}|}.{\def\|
|00000fd0| 63 68 61 70 74 65 72 6d | 61 72 6b 23 23 31 7b 5c |chapterm|ark##1{\|
|00000fe0| 6d 61 72 6b 62 6f 74 68 | 20 7b 5c 75 70 70 65 72 |markboth| {\upper|
|00000ff0| 63 61 73 65 7b 5c 69 66 | 6e 75 6d 20 5c 63 40 73 |case{\if|num \c@s|
|00001000| 65 63 6e 75 6d 64 65 70 | 74 68 3e 5c 6d 40 6e 65 |ecnumdep|th>\m@ne|
|00001010| 0a 20 5c 40 63 68 61 70 | 61 70 70 5c 20 5c 74 68 |. \@chap|app\ \th|
|00001020| 65 63 68 61 70 74 65 72 | 2e 20 5c 20 5c 66 69 20 |echapter|. \ \fi |
|00001030| 23 23 31 7d 7d 7b 7d 7d | 0a 5c 64 65 66 5c 73 65 |##1}}{}}|.\def\se|
|00001040| 63 74 69 6f 6e 6d 61 72 | 6b 23 23 31 7b 5c 6d 61 |ctionmar|k##1{\ma|
|00001050| 72 6b 72 69 67 68 74 7b | 5c 75 70 70 65 72 63 61 |rkright{|\upperca|
|00001060| 73 65 7b 5c 69 66 6e 75 | 6d 20 5c 63 40 73 65 63 |se{\ifnu|m \c@sec|
|00001070| 6e 75 6d 64 65 70 74 68 | 20 3e 5c 7a 40 0a 20 5c |numdepth| >\z@. \|
|00001080| 74 68 65 73 65 63 74 69 | 6f 6e 2e 20 5c 20 5c 66 |thesecti|on. \ \f|
|00001090| 69 20 23 23 31 7d 7d 7d | 7d 0a 5c 70 73 40 40 66 |i ##1}}}|}.\ps@@f|
|000010a0| 61 6e 63 79 0a 5c 67 6c | 6f 62 61 6c 5c 6c 65 74 |ancy.\gl|obal\let|
|000010b0| 5c 70 73 40 66 61 6e 63 | 79 5c 70 73 40 40 66 61 |\ps@fanc|y\ps@@fa|
|000010c0| 6e 63 79 0a 5c 68 65 61 | 64 77 69 64 74 68 5c 74 |ncy.\hea|dwidth\t|
|000010d0| 65 78 74 77 69 64 74 68 | 7d 0a 5c 64 65 66 5c 70 |extwidth|}.\def\p|
|000010e0| 73 40 66 61 6e 63 79 70 | 6c 61 69 6e 7b 5c 70 73 |s@fancyp|lain{\ps|
|000010f0| 40 66 61 6e 63 79 20 5c | 6c 65 74 5c 70 73 40 70 |@fancy \|let\ps@p|
|00001100| 6c 61 69 6e 5c 70 73 40 | 70 6c 61 69 6e 40 66 61 |lain\ps@|plain@fa|
|00001110| 6e 63 79 7d 0a 5c 64 65 | 66 5c 70 73 40 70 6c 61 |ncy}.\de|f\ps@pla|
|00001120| 69 6e 40 66 61 6e 63 79 | 7b 5c 40 66 61 6e 63 79 |in@fancy|{\@fancy|
|00001130| 70 6c 61 69 6e 74 72 75 | 65 5c 70 73 40 40 66 61 |plaintru|e\ps@@fa|
|00001140| 6e 63 79 7d 0a 5c 64 65 | 66 5c 70 73 40 40 66 61 |ncy}.\de|f\ps@@fa|
|00001150| 6e 63 79 7b 0a 5c 64 65 | 66 5c 40 6f 64 64 68 65 |ncy{.\de|f\@oddhe|
|00001160| 61 64 7b 5c 40 66 61 6e | 63 79 68 65 61 64 5c 40 |ad{\@fan|cyhead\@|
|00001170| 6c 6f 64 64 5c 40 6f 6c | 68 65 61 64 5c 40 6f 63 |lodd\@ol|head\@oc|
|00001180| 68 65 61 64 5c 40 6f 72 | 68 65 61 64 5c 40 72 6f |head\@or|head\@ro|
|00001190| 64 64 7d 0a 5c 64 65 66 | 5c 40 6f 64 64 66 6f 6f |dd}.\def|\@oddfoo|
|000011a0| 74 7b 5c 40 66 61 6e 63 | 79 66 6f 6f 74 5c 40 6c |t{\@fanc|yfoot\@l|
|000011b0| 6f 64 64 5c 40 6f 6c 66 | 6f 6f 74 5c 40 6f 63 66 |odd\@olf|oot\@ocf|
|000011c0| 6f 6f 74 5c 40 6f 72 66 | 6f 6f 74 5c 40 72 6f 64 |oot\@orf|oot\@rod|
|000011d0| 64 7d 0a 5c 64 65 66 5c | 40 65 76 65 6e 68 65 61 |d}.\def\|@evenhea|
|000011e0| 64 7b 5c 40 66 61 6e 63 | 79 68 65 61 64 5c 40 72 |d{\@fanc|yhead\@r|
|000011f0| 6f 64 64 5c 40 65 6c 68 | 65 61 64 5c 40 65 63 68 |odd\@elh|ead\@ech|
|00001200| 65 61 64 5c 40 65 72 68 | 65 61 64 5c 40 6c 6f 64 |ead\@erh|ead\@lod|
|00001210| 64 7d 0a 5c 64 65 66 5c | 40 65 76 65 6e 66 6f 6f |d}.\def\|@evenfoo|
|00001220| 74 7b 5c 40 66 61 6e 63 | 79 66 6f 6f 74 5c 40 72 |t{\@fanc|yfoot\@r|
|00001230| 6f 64 64 5c 40 65 6c 66 | 6f 6f 74 5c 40 65 63 66 |odd\@elf|oot\@ecf|
|00001240| 6f 6f 74 5c 40 65 72 66 | 6f 6f 74 5c 40 6c 6f 64 |oot\@erf|oot\@lod|
|00001250| 64 7d 0a 7d 0a 5c 64 65 | 66 5c 40 6c 6f 64 64 7b |d}.}.\de|f\@lodd{|
|00001260| 5c 69 66 40 72 65 76 65 | 72 73 65 6d 61 72 67 69 |\if@reve|rsemargi|
|00001270| 6e 5c 68 73 73 5c 65 6c | 73 65 5c 72 65 6c 61 78 |n\hss\el|se\relax|
|00001280| 5c 66 69 7d 0a 5c 64 65 | 66 5c 40 72 6f 64 64 7b |\fi}.\de|f\@rodd{|
|00001290| 5c 69 66 40 72 65 76 65 | 72 73 65 6d 61 72 67 69 |\if@reve|rsemargi|
|000012a0| 6e 5c 72 65 6c 61 78 5c | 65 6c 73 65 5c 68 73 73 |n\relax\|else\hss|
|000012b0| 5c 66 69 7d 0a 0a 5c 6c | 65 74 5c 6c 61 74 65 78 |\fi}..\l|et\latex|
|000012c0| 40 6d 61 6b 65 63 6f 6c | 5c 40 6d 61 6b 65 63 6f |@makecol|\@makeco|
|000012d0| 6c 0a 5c 64 65 66 5c 40 | 6d 61 6b 65 63 6f 6c 7b |l.\def\@|makecol{|
|000012e0| 5c 6c 65 74 5c 74 6f 70 | 66 6c 6f 61 74 5c 40 74 |\let\top|float\@t|
|000012f0| 6f 70 6c 69 73 74 5c 6c | 65 74 5c 62 6f 74 66 6c |oplist\l|et\botfl|
|00001300| 6f 61 74 5c 40 62 6f 74 | 6c 69 73 74 5c 6c 61 74 |oat\@bot|list\lat|
|00001310| 65 78 40 6d 61 6b 65 63 | 6f 6c 7d 0a 5c 64 65 66 |ex@makec|ol}.\def|
|00001320| 5c 69 66 74 6f 70 66 6c | 6f 61 74 23 31 23 32 7b |\iftopfl|oat#1#2{|
|00001330| 5c 69 66 78 5c 74 6f 70 | 66 6c 6f 61 74 5c 65 6d |\ifx\top|float\em|
|00001340| 70 74 79 20 23 32 5c 65 | 6c 73 65 20 23 31 5c 66 |pty #2\e|lse #1\f|
|00001350| 69 7d 0a 5c 64 65 66 5c | 69 66 62 6f 74 66 6c 6f |i}.\def\|ifbotflo|
|00001360| 61 74 23 31 23 32 7b 5c | 69 66 78 5c 62 6f 74 66 |at#1#2{\|ifx\botf|
|00001370| 6c 6f 61 74 5c 65 6d 70 | 74 79 20 23 32 5c 65 6c |loat\emp|ty #2\el|
|00001380| 73 65 20 23 31 5c 66 69 | 7d 0a 5c 64 65 66 5c 69 |se #1\fi|}.\def\i|
|00001390| 66 66 6c 6f 61 74 70 61 | 67 65 23 31 23 32 7b 5c |ffloatpa|ge#1#2{\|
|000013a0| 69 66 40 66 63 6f 6c 6d | 61 64 65 20 23 31 5c 65 |if@fcolm|ade #1\e|
|000013b0| 6c 73 65 20 23 32 5c 66 | 69 7d 0a |lse #2\f|i}. |
+--------+-------------------------+-------------------------+--------+--------+